Optimal. Leaf size=22 \[ \frac{\left (-a+b x+c x^2\right )^{p+1}}{p+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0050084, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048, Rules used = {629} \[ \frac{\left (-a+b x+c x^2\right )^{p+1}}{p+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 629
Rubi steps
\begin{align*} \int (b+2 c x) \left (-a+b x+c x^2\right )^p \, dx &=\frac{\left (-a+b x+c x^2\right )^{1+p}}{1+p}\\ \end{align*}
Mathematica [A] time = 0.011004, size = 21, normalized size = 0.95 \[ \frac{(x (b+c x)-a)^{p+1}}{p+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 23, normalized size = 1.1 \begin{align*}{\frac{ \left ( c{x}^{2}+bx-a \right ) ^{1+p}}{1+p}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.07991, size = 63, normalized size = 2.86 \begin{align*} \frac{{\left (c x^{2} + b x - a\right )}{\left (c x^{2} + b x - a\right )}^{p}}{p + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 51.5311, size = 104, normalized size = 4.73 \begin{align*} \begin{cases} - \frac{a \left (- a + b x + c x^{2}\right )^{p}}{p + 1} + \frac{b x \left (- a + b x + c x^{2}\right )^{p}}{p + 1} + \frac{c x^{2} \left (- a + b x + c x^{2}\right )^{p}}{p + 1} & \text{for}\: p \neq -1 \\\log{\left (\frac{b}{2 c} + x - \frac{\sqrt{4 a c + b^{2}}}{2 c} \right )} + \log{\left (\frac{b}{2 c} + x + \frac{\sqrt{4 a c + b^{2}}}{2 c} \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.08319, size = 81, normalized size = 3.68 \begin{align*} \frac{{\left (c x^{2} + b x - a\right )}^{p} c x^{2} +{\left (c x^{2} + b x - a\right )}^{p} b x -{\left (c x^{2} + b x - a\right )}^{p} a}{p + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]